package com.xc.shopping_font.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "cart")
public class Cart implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("product_id")
    private Long productId;

    @TableField("customer_id")
    private Long customerId;

    private Integer quantity;

    @TableField("product_name")
    private String productName;

    @TableField("goods_img")
    private String goodsImg;

    @TableField("create_time")
    private String createTime;

    private Float price;


}
